<template>
  <el-card class="box-card">
    <!-- 公司通告 新闻 -->
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="红头文件" name="first"></el-tab-pane>
      <el-tab-pane label="最新知识库" name="second"></el-tab-pane>
    </el-tabs>
    <div v-for="iten in 6" class="item">
      <div class="left">总部开展资质认定评审工作</div>
      <div class="right">12-22</div>
    </div>
  </el-card>
</template>
<script>
export default {
  data() {
    return {
      activeName: "first",
    };
  },
};
</script>
<style lang="scss" scoped>
.box-card {
  margin-top: 20px;
}
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5px;
  &:not(:last-child) {
    border-bottom: 1px solid #dfe4ed;
  }
  > .left {
  }
}
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
